\hypertarget{_tiny_r_c_8h}{
\section{TinyRC.h File Reference}
\label{_tiny_r_c_8h}\index{TinyRC.h@{TinyRC.h}}
}


Header file for \hyperlink{_tiny_r_c_8c}{tinyrc.c}.  


\subsection*{Defines}
\begin{DoxyCompactItemize}
\item 
\hypertarget{_tiny_r_c_8h_a83db29cf01029e8943bd7aa68e7ac0e9}{
\#define {\bfseries CH\_\-ORDER\_\-IN\_\-ADR}~0}
\label{_tiny_r_c_8h_a83db29cf01029e8943bd7aa68e7ac0e9}

\item 
\hypertarget{_tiny_r_c_8h_a9bd9b6b7d5584e84a3f42a8d9ce595ff}{
\#define {\bfseries CH\_\-ORDER\_\-OUT\_\-ADR}~8}
\label{_tiny_r_c_8h_a9bd9b6b7d5584e84a3f42a8d9ce595ff}

\item 
\hypertarget{_tiny_r_c_8h_ace355526dc08c76b9d23fb48ed2aa100}{
\#define {\bfseries MAX\_\-OUT\_\-CH}~8}
\label{_tiny_r_c_8h_ace355526dc08c76b9d23fb48ed2aa100}

\item 
\hypertarget{_tiny_r_c_8h_a49ffbf523ee186705d661d75263a8d68}{
\#define {\bfseries MAX\_\-IN\_\-CH}~8}
\label{_tiny_r_c_8h_a49ffbf523ee186705d661d75263a8d68}

\item 
\hypertarget{_tiny_r_c_8h_ae5000601b96367d2a0018933732ce549}{
\#define {\bfseries SEQU\_\-DELAY}~0}
\label{_tiny_r_c_8h_ae5000601b96367d2a0018933732ce549}

\item 
\hypertarget{_tiny_r_c_8h_acdb6f4177adb1b695ec3c9a1c7071f4c}{
\#define {\bfseries CH\_\-DELAY}~1}
\label{_tiny_r_c_8h_acdb6f4177adb1b695ec3c9a1c7071f4c}

\item 
\hypertarget{_tiny_r_c_8h_a2a59db1c46408c429e3dc61bc5b36591}{
\#define {\bfseries PIN\_\-HI}~2}
\label{_tiny_r_c_8h_a2a59db1c46408c429e3dc61bc5b36591}

\item 
\hypertarget{_tiny_r_c_8h_a85bfaf5e8cd0b3dcff238223d7207f31}{
\#define {\bfseries IN\_\-SEQU\_\-DELAY}~0}
\label{_tiny_r_c_8h_a85bfaf5e8cd0b3dcff238223d7207f31}

\item 
\hypertarget{_tiny_r_c_8h_a4e0b879d5cb05aebaa0606f928ef735b}{
\#define {\bfseries IN\_\-CH\_\-DELAY}~1}
\label{_tiny_r_c_8h_a4e0b879d5cb05aebaa0606f928ef735b}

\item 
\hypertarget{_tiny_r_c_8h_a3ca7521d532878bd0155897f7bfc30fd}{
\#define {\bfseries IN\_\-PIN\_\-HI}~2}
\label{_tiny_r_c_8h_a3ca7521d532878bd0155897f7bfc30fd}

\item 
\hypertarget{_tiny_r_c_8h_a3560cbb78f152b8a0bad908c0cfad066}{
\#define {\bfseries BUFFER\_\-IN\_\-SIZE}~4}
\label{_tiny_r_c_8h_a3560cbb78f152b8a0bad908c0cfad066}

\item 
\hypertarget{_tiny_r_c_8h_aa19ef1a9faab5a1d811f2fb9ebe39255}{
\#define {\bfseries OUTPUT\_\-DDR\_\-1}~DDRB}
\label{_tiny_r_c_8h_aa19ef1a9faab5a1d811f2fb9ebe39255}

\item 
\hypertarget{_tiny_r_c_8h_af509f66fea503632c27b2e730e863549}{
\#define {\bfseries OUTPUT\_\-DDR\_\-2}~DDRB}
\label{_tiny_r_c_8h_af509f66fea503632c27b2e730e863549}

\item 
\hypertarget{_tiny_r_c_8h_a62fe1157e3d274e6fd5b01417a8c9370}{
\#define {\bfseries OUTPUT\_\-DDR\_\-3}~DDRB}
\label{_tiny_r_c_8h_a62fe1157e3d274e6fd5b01417a8c9370}

\item 
\hypertarget{_tiny_r_c_8h_af81e24bbb375532b5f75b09e466da92e}{
\#define {\bfseries OUTPUT\_\-DDR\_\-4}~DDRB}
\label{_tiny_r_c_8h_af81e24bbb375532b5f75b09e466da92e}

\item 
\hypertarget{_tiny_r_c_8h_afcaa6fdab89fe6804e7f7b36de0cb3aa}{
\#define {\bfseries OUTPUT\_\-DDR\_\-5}~DDRB}
\label{_tiny_r_c_8h_afcaa6fdab89fe6804e7f7b36de0cb3aa}

\item 
\hypertarget{_tiny_r_c_8h_a7def4bc77ecdcd0a7f331263f295f774}{
\#define {\bfseries OUTPUT\_\-PORT\_\-1}~PORTB}
\label{_tiny_r_c_8h_a7def4bc77ecdcd0a7f331263f295f774}

\item 
\hypertarget{_tiny_r_c_8h_a5b1a710250fc188e8c0aac29816db764}{
\#define {\bfseries OUTPUT\_\-PORT\_\-2}~PORTB}
\label{_tiny_r_c_8h_a5b1a710250fc188e8c0aac29816db764}

\item 
\hypertarget{_tiny_r_c_8h_a8ffbc74c11843bb0b6b28badee76ab0c}{
\#define {\bfseries OUTPUT\_\-PORT\_\-3}~PORTB}
\label{_tiny_r_c_8h_a8ffbc74c11843bb0b6b28badee76ab0c}

\item 
\hypertarget{_tiny_r_c_8h_a6838bad7411697be726892d6a8363d5b}{
\#define {\bfseries OUTPUT\_\-PORT\_\-4}~PORTB}
\label{_tiny_r_c_8h_a6838bad7411697be726892d6a8363d5b}

\item 
\hypertarget{_tiny_r_c_8h_a626fa42c9e2d171a00dc160dff2b4502}{
\#define {\bfseries OUTPUT\_\-PORT\_\-5}~PORTB}
\label{_tiny_r_c_8h_a626fa42c9e2d171a00dc160dff2b4502}

\item 
\hypertarget{_tiny_r_c_8h_a6792cfd19f11734edb83e4bbeab22d58}{
\#define {\bfseries OUTPUT\_\-BIT\_\-1}~PB1}
\label{_tiny_r_c_8h_a6792cfd19f11734edb83e4bbeab22d58}

\item 
\hypertarget{_tiny_r_c_8h_ad156944971d84eaa9b628563a1d8e8e8}{
\#define {\bfseries OUTPUT\_\-BIT\_\-2}~PB2}
\label{_tiny_r_c_8h_ad156944971d84eaa9b628563a1d8e8e8}

\item 
\hypertarget{_tiny_r_c_8h_a46c920209625fe43ac6a112352537516}{
\#define {\bfseries OUTPUT\_\-BIT\_\-3}~PB3}
\label{_tiny_r_c_8h_a46c920209625fe43ac6a112352537516}

\item 
\hypertarget{_tiny_r_c_8h_a8b464595a24a0ef600393c244afd367c}{
\#define {\bfseries OUTPUT\_\-BIT\_\-4}~PB4}
\label{_tiny_r_c_8h_a8b464595a24a0ef600393c244afd367c}

\item 
\hypertarget{_tiny_r_c_8h_abcbf53931aeaa3da06c318b08230791c}{
\#define {\bfseries OUTPUT\_\-BIT\_\-5}~PB5}
\label{_tiny_r_c_8h_abcbf53931aeaa3da06c318b08230791c}

\item 
\hypertarget{_tiny_r_c_8h_ab5a53d4cbc717a4361a6623ca6a6c981}{
\#define {\bfseries INPUT\_\-BIT\_\-1}~PB1}
\label{_tiny_r_c_8h_ab5a53d4cbc717a4361a6623ca6a6c981}

\item 
\hypertarget{_tiny_r_c_8h_a40d9b1aae681ecc78fdc722463e2d3e9}{
\#define {\bfseries INPUT\_\-BIT\_\-2}~PB2}
\label{_tiny_r_c_8h_a40d9b1aae681ecc78fdc722463e2d3e9}

\item 
\hypertarget{_tiny_r_c_8h_a7dfd8ba92e4e8dd59cd491378b218545}{
\#define {\bfseries INPUT\_\-BIT\_\-3}~PB3}
\label{_tiny_r_c_8h_a7dfd8ba92e4e8dd59cd491378b218545}

\item 
\hypertarget{_tiny_r_c_8h_adf3230c402591be2e84aca870e703d64}{
\#define {\bfseries INPUT\_\-BIT\_\-4}~PB4}
\label{_tiny_r_c_8h_adf3230c402591be2e84aca870e703d64}

\item 
\hypertarget{_tiny_r_c_8h_a39ffa87aa6c307717435c19dafc4ce3b}{
\#define {\bfseries INPUT\_\-BIT\_\-5}~PB5}
\label{_tiny_r_c_8h_a39ffa87aa6c307717435c19dafc4ce3b}

\item 
\hypertarget{_tiny_r_c_8h_a85df664fa24db286bb4be71017529c3d}{
\#define {\bfseries INPUT\_\-PIN\_\-1}~PINB}
\label{_tiny_r_c_8h_a85df664fa24db286bb4be71017529c3d}

\item 
\hypertarget{_tiny_r_c_8h_aadc382773dc5dc31b8ebd6da0a4ce7c8}{
\#define {\bfseries INPUT\_\-PIN\_\-2}~PINB}
\label{_tiny_r_c_8h_aadc382773dc5dc31b8ebd6da0a4ce7c8}

\item 
\hypertarget{_tiny_r_c_8h_a475b0cfc021d0cf8fe7b820bf7231b2a}{
\#define {\bfseries INPUT\_\-PIN\_\-3}~PINB}
\label{_tiny_r_c_8h_a475b0cfc021d0cf8fe7b820bf7231b2a}

\item 
\hypertarget{_tiny_r_c_8h_a5d88e80cfbfa9ea2817f70e16d4b3c26}{
\#define {\bfseries INPUT\_\-PIN\_\-4}~PINB}
\label{_tiny_r_c_8h_a5d88e80cfbfa9ea2817f70e16d4b3c26}

\item 
\hypertarget{_tiny_r_c_8h_a57c6facdc42adf0a04dc65e7b4420650}{
\#define {\bfseries INPUT\_\-PIN\_\-5}~PINB}
\label{_tiny_r_c_8h_a57c6facdc42adf0a04dc65e7b4420650}

\item 
\hypertarget{_tiny_r_c_8h_a762217a2ee80871217d29ed264bd1010}{
\#define {\bfseries INPUT\_\-PORT\_\-1}~PORTB}
\label{_tiny_r_c_8h_a762217a2ee80871217d29ed264bd1010}

\item 
\hypertarget{_tiny_r_c_8h_ae09718d12ebef2bede051c69ef073635}{
\#define {\bfseries INPUT\_\-PORT\_\-2}~PORTB}
\label{_tiny_r_c_8h_ae09718d12ebef2bede051c69ef073635}

\item 
\hypertarget{_tiny_r_c_8h_a9fe20206cefca173d1cb66c785d4dc22}{
\#define {\bfseries INPUT\_\-PORT\_\-3}~PORTB}
\label{_tiny_r_c_8h_a9fe20206cefca173d1cb66c785d4dc22}

\item 
\hypertarget{_tiny_r_c_8h_a1e79feba1d55e0ad3578e109484adeed}{
\#define {\bfseries INPUT\_\-PORT\_\-4}~PORTB}
\label{_tiny_r_c_8h_a1e79feba1d55e0ad3578e109484adeed}

\item 
\hypertarget{_tiny_r_c_8h_a6324af1ec84355de8ff34e8647eb990e}{
\#define {\bfseries INPUT\_\-PORT\_\-5}~PORTB}
\label{_tiny_r_c_8h_a6324af1ec84355de8ff34e8647eb990e}

\item 
\hypertarget{_tiny_r_c_8h_a37094d59643d52d9f128f39d3bc57c87}{
\#define {\bfseries TEST\_\-DDR}~DDRB}
\label{_tiny_r_c_8h_a37094d59643d52d9f128f39d3bc57c87}

\item 
\hypertarget{_tiny_r_c_8h_a7812026c12eab529fa6928dc0a708e62}{
\#define {\bfseries TEST\_\-PORT}~PORTB}
\label{_tiny_r_c_8h_a7812026c12eab529fa6928dc0a708e62}

\item 
\hypertarget{_tiny_r_c_8h_a1d71a3be122468198bf1770141f3e034}{
\#define {\bfseries TEST\_\-BIT}~PB1}
\label{_tiny_r_c_8h_a1d71a3be122468198bf1770141f3e034}

\item 
\hypertarget{_tiny_r_c_8h_a30d82cdc05cf573f35c40e4d22052ce2}{
\#define {\bfseries gyroCh}~7}
\label{_tiny_r_c_8h_a30d82cdc05cf573f35c40e4d22052ce2}

\item 
\hypertarget{_tiny_r_c_8h_a194c86d08a96776d3259e55540d463a8}{
\#define {\bfseries MAX\_\-PULSE\_\-TIME}~3000}
\label{_tiny_r_c_8h_a194c86d08a96776d3259e55540d463a8}

\item 
\hypertarget{_tiny_r_c_8h_afb9cadbbdb4a19f5510a328511a5757b}{
\#define {\bfseries TIMER\_\-0\_\-MAX\_\-CYCLE}~10}
\label{_tiny_r_c_8h_afb9cadbbdb4a19f5510a328511a5757b}

\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{_tiny_r_c_8h_a9e51b6f882d7fe538b3f68cb555f748e}{
void {\bfseries ReadInBuffer} (void)}
\label{_tiny_r_c_8h_a9e51b6f882d7fe538b3f68cb555f748e}

\item 
\hypertarget{_tiny_r_c_8h_aa11e3dc0b000153e724b4a3886331991}{
void {\bfseries GyroOut} (void)}
\label{_tiny_r_c_8h_aa11e3dc0b000153e724b4a3886331991}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Header file for \hyperlink{_tiny_r_c_8c}{tinyrc.c}. 
\begin{DoxyItemize}
\item File: \hyperlink{_tiny_r_c_8h}{tinyrc.h}
\item Compiler: GCC 4
\item Supported devices: ATTiny45 ATTiny85
\end{DoxyItemize}

\begin{DoxyAuthor}{Author}
Stephan Harms: \href{http://www.stephanharms.de}{\tt http://www.stephanharms.de} \par
 Support email: \href{mailto:avr@stephanharms.com}{\tt avr@stephanharms.com}
\end{DoxyAuthor}
\begin{DoxyParagraph}{Name}
RELEASE\_\-1\_\-0 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Revision}
1.2 
\end{DoxyParagraph}
\begin{DoxyParagraph}{RCSfile}
\hyperlink{timer_8h}{timer.h},v 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Date}
2010/04/05 12:25:58 
\end{DoxyParagraph}
